package com.boyon.customer.entity;

import static javax.persistence.GenerationType.IDENTITY;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Data
@Entity
@Table(name = "base_agent_report_rate", catalog = "boyon_customer")
public class AgentReportRate implements java.io.Serializable {

	/**
	 * serialVersionUID:
	 * 
	 * @since JDK 1.8
	 */
	private static final long serialVersionUID = -4893607292191782946L;
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "agent_report_rate_id")
	private Long agentReportRateId;
	@Column(name = "customer_id")
	private Long customerId;
	@Column(name = "report_type")
	private Integer reportType;
	@Column(name = "rate_type")
	private Integer rateType;
	@Column(name = "free_num")
	private Integer freeNum;
	@Column(name = "num")
	private Integer num;
	@Column(name = "price", precision = 10, scale = 3)
	private BigDecimal price;
	@Column(name = "rate", precision = 10, scale = 3)
	private BigDecimal rate;
	@Column(name = "query_path", length = 128)
	private String queryPath;

}